﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SportStore.DomainModel.Entities;

namespace SportStore.DomainModel.Services
{
    public interface ICreditCardProcessor
    {
        TransactionResult TakePayment(CreditCard card, decimal amount);
    }

    public enum TransactionResult
    {
        Success, CardNumberInvalid, CardExpired, TransactionDeclined
    }
}
